Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Search #1229

Merged
merged 13 commits into from
Nov 9, 2023
Merged

Rewrite Search #1229

merged 13 commits into from
Nov 9, 2023

Conversation

hennevogel
Copy link
Member

@hennevogel hennevogel commented Jul 5, 2022

With this we get a Distribution with a bunch of Repository in the database that
you can sync. Which will create (per Distribution/Repository) a gazillion
Package objects with data from primary, appdata and updateinfo.

The user workflow will be as following:

  • As an admin I setup Distribution and it's repositories
  • As an admin I sync a Distribution's repositories to the database
  • As a user I search for Package of a Distributions in it's repositories
  • As a user I extend the search to packages build on OBS for this Distribution (not implemented here)

Separating the Distribution "repository" search from searching through OBS will
hopefully make more clear for newbies that enabling extra repos is kind of
dangerous.

TODO:

  • Package.icons from appdata-icons.tar.gz with ActiveStorage
  • User and Authentication/Authorization
  • Appstore a.k.a browsing (only @distribution.packages.where(appstream: true)) by category.
  • Searching build.opensuse.org with the existing OBS class

Once we have User we can also think about other stuff like comments, likes, ratings or whatnot.

@hennevogel hennevogel force-pushed the refactoring/repomod branch from 92e2a08 to a34abec Compare July 5, 2022 10:51
hellcp

This comment was marked as outdated.

@hennevogel

This comment was marked as outdated.

@hennevogel hennevogel changed the base branch from master to staging November 8, 2023 14:24
Also setup haml-lint TODO file
Also moves docker base image build into OBS
All the stuff we need for what's to come...
A Distribution has many Repository
A Repository has many Packages
A Package has many Versions
A Package has many Categories

ActiveJobs are in the database too.
@hennevogel hennevogel force-pushed the refactoring/repomod branch 15 times, most recently from df61240 to 4500f27 Compare November 9, 2023 13:20
@hennevogel hennevogel force-pushed the refactoring/repomod branch 6 times, most recently from 02cd1a7 to f4c1eef Compare November 9, 2023 13:48
With this we get a Distribution with a bunch of Repository in the database that
you can sync. Which will create, per Distribution/Repository, a gazillion
Package objects with data from primary, appdata and updateinfo.

The user workflow will be as following:

- As an admin I setup Distribution and it's repositories
- As an admin I sync a Distribution's repositories to the database

- As a user I search for Package of a Distributions in it's repositories
- As a user I extend the search to packages build on OBS for this Distribution (not implemented here)

Separating the Distribution "repository" search from searching through OBS will
hopefully make more clear for newbies that enabling extra repos is kind of
dangerous.
and regenerate TODO file...
Using dentarg/postgres
@hennevogel hennevogel merged commit ba4402a into openSUSE:staging Nov 9, 2023
4 checks passed
@hennevogel hennevogel deleted the refactoring/repomod branch November 10, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants